<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AvansRS.Domain.Event>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>EventDetails</h2>

    <fieldset>
        <legend>Event</legend>
        <p>
            ID:
            <%= Html.Encode(Model.ID) %>
        </p>
        <p>
            Name:
            <%= Html.Encode(Model.Name) %>
        </p>
        <p>
            Description:
            <%= Html.Encode(Model.Description) %>
        </p>
    </fieldset>
    <fieldset>
        <legend>Location</legend>
        <p>
            Name:
            <%= Html.Encode(Model.Location.Name)%>
        </p>
        <p>
            Description:
            <%= Html.Encode(Model.Location.Description) %>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "EventEdit", new { id = Model.ID })%> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

